<?php
	require '../config.php';
	require '../inc/require.php';	
	
	$message = new Message();
	$messages = $message->getByAccount();

	echo json_encode($messages);
